package com.site.wisdom_construction.service.iotModule;

import com.site.wisdom_construction.dao.iotModule.FoundationAxialDao;
import com.site.wisdom_construction.entity.iotModule.FoundationAxial;
import com.site.wisdom_construction.statisticsResult.FoundationAxialName;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/11
 * @Description
 */
@Service
public class FoundationAxialService implements FoundationAxialDao {
    @Autowired
    private FoundationAxialDao foundationAxialDao;

    @Override
    public int insertFoundationAxial(Map map) {
        return foundationAxialDao.insertFoundationAxial(map);
    }

    @Override
    public int deleteFoundationAxial(Map map) {
        return foundationAxialDao.deleteFoundationAxial(map);
    }

    @Override
    public List<FoundationAxialName> countFoundationAxialByName(Map map) {
        return foundationAxialDao.countFoundationAxialByName(map);
    }

    @Override
    public List<String> countFoundationAxialByUpTime(Map map) {
        return foundationAxialDao.countFoundationAxialByUpTime(map);
    }

    @Override
    public List<FoundationAxial> findFoundationAxialByName(String name) {
        return foundationAxialDao.findFoundationAxialByName(name);
    }

    @Override
    public List<FoundationAxial> findFoundationAxial(Map map) {
        return foundationAxialDao.findFoundationAxial(map);
    }

    @Override
    public List<FoundationAxial> findFoundationAxialByNameNew(Map map) {
        return foundationAxialDao.findFoundationAxialByNameNew(map);
    }

    @Override
    public Long Total(Map map) {
        return foundationAxialDao.Total(map);
    }

    @Override
    public List<FoundationAxial> findFoundationAxialByPage(Map map) {
        return foundationAxialDao.findFoundationAxialByPage(map);
    }
}
